import Vue from 'vue'
import { Button, Tabbar, AddressList, TabbarItem, NavBar, Grid, Cell, Field, CellGroup, GridItem, Swipe, SwipeItem, Lazyload, Search, Card, Form, Toast, RadioGroup, Radio, Checkbox, CheckboxGroup } from 'vant'

Vue.use(Lazyload, {
  lazyComponent: true
})

Vue.use(AddressList)
  .use(Checkbox)
  .use(CheckboxGroup)
  .use(Radio)
  .use(RadioGroup)
  .use(Toast)
  .use(Field)
  .use(Form)
  .use(Cell)
  .use(CellGroup)
  .use(Card)
  .use(Search)
  .use(Lazyload)
  .use(Swipe)
  .use(SwipeItem)
  .use(Grid)
  .use(GridItem)
  .use(Button)
  .use(Tabbar)
  .use(TabbarItem)
  .use(NavBar)
